set hive.exec.dynamic.partition=true;            --  动态分区
set hive.exec.dynamic.partition.mode=nonstrict;
set hive.exec.max.dynamic.partitions=90;         --  每天生成 60 个分区
set hive.exec.max.dynamic.partitions.pernode=90; --  每天生成 60 个分区

insert overwrite table jms_dim.dim_lmdm_sys_network_electronic
select
id
,network_id
,delivery_shape
,delivery_type
,g_id
,g_name
,g_center
,g_points
,g_radius
,g_valid_time
,g_create_time
,expiry_date
,create_by
,update_by
,create_by_name
,update_by_name
,create_time
,update_time
,network_type_id
from jms_ods.yl_lmdm_sys_network_electronic where dt= '{{ execution_date | cst_ds }}'
 distribute by 1 ;